home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-04-12 | 2.1 KB | 51 lines | [TEXT/GEOL] |
- Item 7163117 12-April-89 05:18
-
- From: CANNON1 Japan - Tech, Joel Cannon
-
- To: D1220 Vari-Lite, Andy Meldrum, PRT
-
- cc: CANNON1 Japan - Tech, Joel Cannon
- MACAPP.TECH$ MACAPP Tech
-
- Sub: Re- KanjiTalkTalk
-
- Dear Andy Meldrum,
-
- Sorry for the slow response, but let me try to answer a few of your questions
- about KanjiTalk.
-
- I am anxious to start using MacApp myself, but I have not had time as yet.
- (Maybe in June.) I have taken the Dev Ed class and I am familiar with it, but
- unfortunately, I can't warn you what problems you might have.
-
- In general, everything should be transparent. But where I have seen the most
- common design mistakes is when things are designed with special fonts. If you
- use the default System/Application fonts or supply a font menu then things are
- OK. If you follow the guidelines of the ScriptManager and don't do any weird
- text stuff(word processing), then things seem to work with no problem.
-
- To be ScriptManager compatible, don't assume that a character is either 1 or 2
- bytes long, use CharByte or ParseTable (see The ScriptManager 2.0; IM
- Additional Chapters 2/89) to check the length. Kanji strings are simply
- special combinations of double byte 8 bit characters. (There are single byte
- characters in the Japanese character set too, ie: "ABC" "123" and 1 byte
- Hiragana.) The Kanji strings look like a lot of greek "øπ∏∫◊√∂ß" when they are
- displayed with a Roman Script Font (ie Geneva).
-
- About your question of handling Str255s, if you use TextEdit type routines,
- then they will be returning a packed array of characters which you will need to
- truncate to 255 characters or less. The truncation routine should respect
- character boundaries and take the maximum length in bytes (not characters) of
- the destination. I assume that all of the ROM Calls that use Str255 should be
- in working order.
-
- Sorry that I don't have better answers, but I'd never write anything if I
- always waited until I understood everything about the Mac.
-
- Good Luck,
-
- Joel Cannon
- Technical Support
- Apple Japan, Tokyo
-
-